Overload | Description |
---|---|
TryRemove(TKey,KeyValuePredicate<TKey,TValue>) | Removes the element with the specified key from the IDictionary if the fnCondition predicate is null or returns true. |
TryRemove<T>(TKey,T) | Conditionally removes a key/value pair from the dictionary via an implementation of the IRemoveValue<TKey,TValue> interface. |
Target Platforms: Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7